<extend name="Layout:layout" />
<block name="body_main">
    <div class="block box">
        <div class="blank"></div>
        <div id="ur_here">
            当前位置: <a href="{:U('Index/index')}">首页</a> <code>&gt;</code> 用户中心 
        </div>
    </div>
    <div class="blank"></div>
    <div class="blank"></div>
    <div class="block clearfix">
        <div class="AreaL">
            <div class="box">
                <div class="box_1">
                    <div class="userCenterBox">
                        <div class="userMenu">
                            <a href="{:U('MyHome/index')}"><img src="__THEME__images/u1.gif"> 欢迎页</a>
                            <a href="{:U('MyProfile/profile_edit')}"><img src="__THEME__images/u2.gif"> 用户信息</a>
                            <a href="{:U('MyOrder/index')}" class="curs"><img src="__THEME__images/u3.gif"> 我的订单</a>
                            <a href="{:U('MyConsignee/index')}"><img src="__THEME__images/u4.gif"> 收货地址</a>
                            <a href="{:U('MyFavorite/index')}"><img src="__THEME__images/u5.gif"> 我的收藏</a>
                            <a href="{:U('Passport/logout')}" style="background:none; text-align:right; margin-right:10px;"><img src="__THEME__images/bnt_sign.gif"></a>
                        </div>      
                    </div>
                </div>
            </div>
        </div>
        <div class="AreaR">
            <div class="box">
                <div class="box_1">
                    <div class="userCenterBox boxCenterList clearfix" style="_height:1%;">
                        <h5><span>我的订单</span></h5>
                        <div class="blank"></div>
                        <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
                            <tr align="center">
                                <td bgcolor="#ffffff">订单号</td>
                                <td bgcolor="#ffffff">下单时间</td>
                                <td bgcolor="#ffffff">订单总金额</td>
                                <td bgcolor="#ffffff">快递单号</td>
                                <td bgcolor="#ffffff">操作</td>
                            </tr>
                            <foreach name="list" item="vo">
                            <tr>
                                <td align="center" bgcolor="#ffffff"><a href="{:U('order_detail','order_id='.$vo['id'])}" class="f6">{$vo.serial_no}</a></td>
                                <td align="center" bgcolor="#ffffff">{$vo.create_time}</td>
                                <td align="right" bgcolor="#ffffff">￥{$vo.order_amount}元</td>
                                <td align="center" bgcolor="#ffffff">{$vo.express_no}</td>
                                <td align="center" bgcolor="#ffffff"><font class="f6"><a href="{:U('order_detail','order_id='.$vo['id'])}">详情</a></font></td>
                            </tr>                                
                            </foreach>
                            <!--
                            <tr>
                                <td align="center" bgcolor="#ffffff"><a href="{:U('order_detail','order_id='.$vo['id'])}" class="f6">2016083180682</a></td>
                                <td align="center" bgcolor="#ffffff">2016-08-31 18:01:04</td>
                                <td align="right" bgcolor="#ffffff">￥1808.00元</td>
                                <td align="center" bgcolor="#ffffff">未确认,未付款,未发货</td>
                                <td align="center" bgcolor="#ffffff"><font class="f6"><a href="user.php?act=cancel_order&order_id=470" onclick="if (!confirm('您确认要取消该订单吗？取消后此订单将视为无效订单'))
                                            return false;">取消订单</a></font></td>
                            </tr>
                            -->
                        </table>
                        <div class="blank5"></div>
                        <form name="selectPageForm" action="/user.php" method="get">
                            <div id="pager" class="pagebar">
                                {$pager}
                            </div>
                        </form>
                        <div class="blank5"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</block>